<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Laptrak</title>
<base href="<?php BASE_PATH ?>">
<link rel="stylesheet" type="text/css" href="templates/stylesheet.css">
<link rel="stylesheet" type="text/css" href="includes/calendar/calendar-win2k-cold-1.css">
<script type="text/javascript" src="includes/calendar/calendar.js"></script>
<script type="text/javascript" src="includes/javascript/CalendarPopup.js"></script>
<script type="text/javascript" src="includes/calendar/calendar-en.js"></script>
<script type="text/javascript" src="includes/calendar/calendar-setup.js"></script>
<script type="text/javascript" src="includes/javascript/common.js"></script>
<script language="javascript" src="includes/javascript/prototype.js"></script>
<script type="text/javascript">
    function CalCalender(val,but){
        
		Calendar.setup({
			inputField     :    val,   // id of the input field
			ifFormat       :    "%d-%m-%Y",       // format of the input field
			daFormat       :    "%d-%m-%Y",       // format of the Display field
			showsTime      :    false,
			button         :    but,
			timeFormat     :    "24",
			step           :    1
		});
		
	}

</script>
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
<!-- header //-->
<tr>
<td><?php require('templates/header.php'); ?></td>
</tr>
<!-- header_eof //-->
<!-- content //-->
<tr>
 <td height="494"><?php require('templates/content/' . $content . '.tpl.php'); ?></td>
</tr>
<!-- content_eof //-->
<!-- footer //-->
<tr>
<td><?php require('templates/footer.php'); ?></td>
</tr>
<!-- footer_eof //-->
</table>
</body>
</html>